package com.xcity.db.entity;

import java.util.Date;

import com.alibaba.fastjson.JSONObject;

public class Item {

	private long id;
	private int itemId;
	private long ownerId;
	private byte bagId;
	private int pos;
	private int count;
	private Date createTime;
	private JSONObject attributes;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public int getItemId() {
		return itemId;
	}

	public void setItemId(int itemId) {
		this.itemId = itemId;
	}

	public long getOwnerId() {
		return ownerId;
	}

	public void setOwnerId(long ownerId) {
		this.ownerId = ownerId;
	}

	public byte getBagId() {
		return bagId;
	}

	public void setBagId(byte bagId) {
		this.bagId = bagId;
	}

	public int getPos() {
		return pos;
	}

	public void setPos(int pos) {
		this.pos = pos;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public JSONObject getAttributes() {
		return attributes;
	}

	public void setAttributes(JSONObject attributes) {
		this.attributes = attributes;
	}

}
